package cn.biansc.service;

import org.activiti.engine.repository.Deployment;
import org.activiti.engine.repository.ProcessDefinition;
import org.activiti.engine.task.Task;

import java.io.InputStream;
import java.util.List;

public interface IWorkflowService {


    void saveNewDeploye(InputStream inputStream, String filename);

    List<Deployment> findDeploymentList();

    List<ProcessDefinition> findProcessDefinition();

    Object getStartFormData(String key);

    void deleteProcessDefinitionByDeploymentId(String deploymentId);

    //使用当前用户名查询正在执行的任务表，获取当前任务的集合List<Task>
    List<Task> findTaskListByName(String name);
}
